package poker.util;

public class MathUtils{

	public static double factor(double n){
		if(n == 0){
			return 1;
		}
		else{
			return n * factor(n - 1);
		}
	}
	
	public static int lowest(int first, int sec){
		return first <= sec?first:sec;
	}
	
	public static int greatest(int first, int sec){
		return first > sec?first:sec;
	}
}
